package com.deram.ctin.rest.web;

import com.deram.ctin.dependencies.rest.config.RestConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * Created by xhw on 2017/09/12.
 */

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients("com.deram.ctin.serv")
@Import({RestConfig.class})
public class Application {

    public static void main(String[] args){
        SpringApplication.run(Application.class,args);
    }
}
